var api = require('../../utils/api.js')
var app = getApp()

Page({

    /**
     * 页面的初始数据
     */
    data: {
        lists:[]
    },

    seeinfo(){
        wx.reLaunch({
          url: '/pages/rets/index',
        })
    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow() {
        var that=this;

        api.post({
            url: 'usersave/getmymsg',
            data: {},
            success: data => {
                console.log(data) 

                that.setData({
                    lists:data.data
                })
               
            }
        })

    },

    
})